package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Search;
import cn.wolfcode.trip.base.query.SearchQueryObject;

import java.util.List;

public interface SearchMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Search record);

    Search selectByPrimaryKey(Long id);

    List<Search> selectAll();

    int updateByPrimaryKey(Search record);


    List<Search> selectForList (SearchQueryObject qo);


    List<Search> selectForList2 (SearchQueryObject qo);
}